import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入重置样式
import 'normalize.css'
// 引入公共样式
import '@/styles/common.less'
// 引入主体样式
import '@/styles/variables.less'
// 引入公共插件
import XtxUI from '@/components'
// 图片懒加载
import directivePlugin from '@/directives'

// 创建实例
// const app = createApp(App)
// app.use(XtxUI)
// app.use(directivePlugin)
// app.use(store)
// app.use(router)
// app.mount('#app')

// 创建实例
createApp(App).use(XtxUI).use(directivePlugin).use(store).use(router).mount('#app')
